﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using canthovieclam.BL.Models;
using canthovieclam.DAL.Repositories;

namespace canthovieclam.BL
{
    public class EmployerTypeImpl
    {
        public List<EmployerTypeModel> GetEmployerModelList()
        {
            var employerTypeRepository = new EmployerTypeRepository();
            var employerTypeModelList = (from x in employerTypeRepository.GetAllEmployerType()
                                         select new EmployerTypeModel(x)).ToList();
            return employerTypeModelList;
        }
    }
}
